package com.cmc.cloud.cmclink.doc.entity;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cmes.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;

import java.time.LocalDate;

/**
 * 禁接规则 DO
 *
 * @author 招商轮船-管理员
 */
@TableName("doc_limit_rule")
@KeySequence("doc_limit_rule_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LimitRuleDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * ATD ETD  生效日期类型
     */
    private String effectiveDateType;
    /**
     * 适用阶段
     */
    private String usePeriod;
    /**
     * 生效日期
     */
    private LocalDate effictiveDate;
    /**
     * 失效日期
     */
    private LocalDate expiringDate;
    /**
     * 规则名称
     */
    private String ruleName;
    /**
     * 规则类型
     */
    private String ruleType;
    /**
     * 提示内容
     */
    private String feedbackContent;
    /**
     * 是否启用
     */
    private Boolean enable;

}
